package de.tabuma.shopping.entity;

import javax.jdo.annotations.*;
import java.util.*;

/**
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/07/21 19:37:33 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class LicenseAssignment {
    
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    public Long getId() {
        return id;
    }
    
    @Persistent
    int orderLicensePackageRelationId;
    public int getOrderLicensePackageRelationId() {
        return orderLicensePackageRelationId;
    }
    public void setOrderLicensePackageRelationId(int orderLicensePackageRelationId) {
        this.orderLicensePackageRelationId = orderLicensePackageRelationId;
    }
    
    @Persistent
    int assignmentId;
    public int getAssignmentId() {
        return assignmentId;
    }
    public void setAssignmentId(int assignmentId) {
        this.assignmentId = assignmentId;
    }

    @Persistent
    int licenseCount;
    public int getLicenseCount() {
        return licenseCount;
    }
    public void setLicenseCount(int licenseCount) {
        this.licenseCount = licenseCount;
    }

    @Persistent
    int licenseUsed;
    public int getLicenseUsed() {
        return licenseUsed;
    }
    public void setLicenseUsed(int licenseUsed) {
        this.licenseUsed = licenseUsed;
    }

    @Persistent
    int licenseType;
    public int getLicenseType() {
        return licenseType;
    }
    public void setLicenseType(int licenseType) {
        this.licenseType = licenseType;
    }


    @Persistent
    int nrInOrder;

    public int getNrInOrder() {
        return nrInOrder;
    }
    public void setNrInOrder(int nrInOrder) {
        this.nrInOrder = nrInOrder;
    }

    
}
